﻿@model User;
<body>
<div class="container mt-5">
    <div class="row">
        <div class="col-md-12">
            <div class="card">
                <div class="card-header bg-primary text-white">
                    修改页面
                </div>
                <div class="card-body">
                    <table class="table table-striped">
                            <thead>
                                <tr>
                                    <th>用户姓名</th>
                                    <th>用户账号</th>
                                    <th>密码</th>
                                    <th>联系电话</th>
                                    <th>权限</th>
                                </tr>
                                
                            </thead>
                            <thead>
                                <form asp-action="UpdSumbit" asp-controller="UserAndRole" method="post" class="my-4">
                                <tr>
                                    <td><input value="@Model.user_name" name="user_name" /></td>
                                    <td><input value="@Model.user_account" name="user_account" /></td>
                                    <td><input value="@Model.user_password" name="user_password" /></td>
                                    <td><input value="@Model.phone" name="phone" /></td>
                                    <td><input value="@Model.role_id" name="role_id" /></td>
                                </tr>
                                <tr>
                                    <td></td>
                                    <td></td>
                                    <td><input type="submit" class="btn btn-danger delete-btn" style="width:100%" value="提交" /></td>
                                </tr>
                                </form>
                            </thead>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>

</body>
</html>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js"></script>

